package com.company.cloud.user.modules.api.constant;

import com.company.cloud.common.constant.BaseCodeEnum;

/**
 * 用户一级来源
 */
public enum UserOneSourceEnum implements BaseCodeEnum {

    Self_Reg("1", "自助注册"),
    AdminUser_Reg("2", "推送新增"),
    Admin_Reg("9", "后台新增"),
    Data_Import("3", "数据导入");

    private String code;
    private String msg;

    private UserOneSourceEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return msg;
    }

}